/*
 * @Author: gyh
 * @Date: 2024-05-06 15:31:28
 * @LastEditTime: 2024-05-06 15:46:18
 */
import type { category } from '@/types/category'
import { request } from '@/utils/request'

export const getCategoryTopApi = () => {
  return request<category[]>({
    method: 'GET',
    url: '/category/top',
  })
}
